{include file="Index/header" /}

<link href="__PUBLIC__/js/froala/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/js/froala/css/froala_editor.min.css" rel="stylesheet" type="text/css">
<script src="__PUBLIC__/js/froala/js/froala.jquery.js"></script>
<script src="__PUBLIC__/js/froala/js/froala_editor.min.js"></script>
 
    <form action="{:url('Article/categoryAdd')}" method="post" /> 
	    <input type="hidden" name="sbt" value="1">
	    <input type="hidden" name="aid" value="{$aid}">
    	<div class="formbody">
    		<div class="formtitle"><span>文章分类添加</span></div>
		    <ul class="forminfo">
		    
			    <li>
			    	<label>所属分类</label>
			    	<select name="pid" class="form-select">
			    		<option  value="top">顶级分类</option>
			    		
						{volist name="categoryArr" id="vo" key="k" } 
						<option {if $key==$categoryInfo[pid]} selected {/if} value="{$key}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;┣{$vo}</option>
						{/volist}
					 
					</select>
			    </li> 
			    
		     	<li>
			    	<label>分类名称</label>
			    	<input name="title" type="text" class="dfinput" value="{$categoryInfo.title}" size="40"/>
			    </li> 
		     	 
			   
			    
			    
			    <li>
			    	<label>&nbsp;</label>
			   		 <input name="submit" type="submit" class="btn" value="确认保存"/>
			   	</li>
		    </ul>
    	</div>
	</form>
 

{include file="Index/footer" /}